.class public Lcom/estrongs/android/taskmanager/cz;
.super Lcom/estrongs/android/taskmanager/dp;


# static fields
.field private static g:Landroid/widget/Button;

.field private static h:Landroid/widget/Button;

.field private static i:Landroid/widget/TextView;

.field private static j:Landroid/widget/Button;

.field private static k:Landroid/widget/Button;

.field private static l:Landroid/widget/Button;

.field private static m:Landroid/widget/Button;

.field private static n:Landroid/bluetooth/BluetoothAdapter;

.field private static o:Landroid/widget/TextView;

.field private static p:Landroid/widget/TextView;

.field private static q:Z

.field private static r:Z


# direct methods
.method static constructor <clinit>()V
    .locals 2

    const/4 v1, 0x0

    const/4 v0, 0x0

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->h:Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->i:Landroid/widget/TextView;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->k:Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->m:Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->p:Landroid/widget/TextView;

    sput-boolean v1, Lcom/estrongs/android/taskmanager/cz;->q:Z

    sput-boolean v1, Lcom/estrongs/android/taskmanager/cz;->r:Z

    return-void
.end method

.method public constructor <init>(Landroid/app/Activity;Landroid/view/ViewGroup;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/estrongs/android/taskmanager/cz;-><init>(Landroid/app/Activity;Landroid/view/ViewGroup;Z)V

    return-void
.end method

.method public constructor <init>(Landroid/app/Activity;Landroid/view/ViewGroup;Z)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2, p3}, Lcom/estrongs/android/taskmanager/dp;-><init>(Landroid/app/Activity;Landroid/view/ViewGroup;Z)V

    const v0, 0x7f090009

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0900b9

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-static {p1}, Lcom/estrongs/android/taskmanager/cz;->g(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    const v0, 0x7f0900af

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    const v0, 0x7f0900b5

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->o:Landroid/widget/TextView;

    const v0, 0x7f0900bc

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->p:Landroid/widget/TextView;

    const v0, 0x7f0900b2

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->i:Landroid/widget/TextView;

    const v0, 0x7f0900b1

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->g:Landroid/widget/Button;

    const v0, 0x7f0900b0

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->h:Landroid/widget/Button;

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->g:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/taskmanager/da;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/da;-><init>(Lcom/estrongs/android/taskmanager/cz;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->h:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/taskmanager/db;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/db;-><init>(Lcom/estrongs/android/taskmanager/cz;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0900b4

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->j:Landroid/widget/Button;

    const v0, 0x7f0900b3

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->k:Landroid/widget/Button;

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    if-eqz v0, :cond_1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->j:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/taskmanager/dc;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/dc;-><init>(Lcom/estrongs/android/taskmanager/cz;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->k:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/taskmanager/dd;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/dd;-><init>(Lcom/estrongs/android/taskmanager/cz;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_1
    const v0, 0x7f0900bb

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->l:Landroid/widget/Button;

    const v0, 0x7f0900ba

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->m:Landroid/widget/Button;

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->l:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/taskmanager/de;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/de;-><init>(Lcom/estrongs/android/taskmanager/cz;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->m:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/taskmanager/df;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/df;-><init>(Lcom/estrongs/android/taskmanager/cz;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/cz;->c:Landroid/widget/Button;

    new-instance v1, Lcom/estrongs/android/taskmanager/dg;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/dg;-><init>(Lcom/estrongs/android/taskmanager/cz;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic a(Landroid/content/Context;Z)V
    .locals 0

    invoke-static {p0, p1}, Lcom/estrongs/android/taskmanager/cz;->f(Landroid/content/Context;Z)V

    return-void
.end method

.method static synthetic a(Z)V
    .locals 0

    invoke-static {p0}, Lcom/estrongs/android/taskmanager/cz;->f(Z)V

    return-void
.end method

.method public static a(Landroid/app/Activity;ZZ)[I
    .locals 5

    const/4 v0, 0x0

    invoke-static {p0, p1, p2}, Lcom/estrongs/android/taskmanager/dp;->e(Landroid/app/Activity;ZZ)[I

    move-result-object v2

    sget-object v1, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    if-eqz v1, :cond_0

    sget-object v1, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    invoke-virtual {v1}, Landroid/bluetooth/BluetoothAdapter;->isEnabled()Z

    move-result v1

    if-eqz v1, :cond_0

    aget v1, v2, v0

    add-int/lit8 v1, v1, 0x1

    aput v1, v2, v0

    if-eqz p1, :cond_0

    invoke-static {p0, v0, p2}, Lcom/estrongs/android/taskmanager/cz;->b(Landroid/app/Activity;ZZ)V

    :cond_0
    invoke-static {}, Landroid/content/ContentResolver;->getMasterSyncAutomatically()Z

    move-result v1

    if-eqz v1, :cond_1

    aget v1, v2, v0

    add-int/lit8 v1, v1, 0x1

    aput v1, v2, v0

    if-eqz p1, :cond_1

    invoke-static {v0}, Landroid/content/ContentResolver;->setMasterSyncAutomatically(Z)V

    :cond_1
    invoke-static {p0}, Lcom/estrongs/android/taskmanager/cz;->g(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_2

    :try_start_0
    invoke-static {p0}, Lcom/estrongs/android/taskmanager/cz;->h(Landroid/content/Context;)Z

    move-result v1

    if-eqz v1, :cond_2

    const/4 v1, 0x0

    const/4 v3, 0x0

    aget v3, v2, v3

    add-int/lit8 v3, v3, 0x1

    aput v3, v2, v1

    if-eqz p1, :cond_2

    const/4 v1, 0x0

    invoke-static {p0, v1, p2}, Lcom/estrongs/android/taskmanager/cz;->c(Landroid/app/Activity;ZZ)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    add-int/lit8 v1, v0, 0x1

    const/16 v3, 0x8

    if-lt v0, v3, :cond_3

    :cond_2
    :goto_1
    return-object v2

    :cond_3
    :try_start_1
    invoke-static {p0}, Lcom/estrongs/android/taskmanager/cz;->h(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-wide/16 v3, 0x1f4

    invoke-static {v3, v4}, Ljava/lang/Thread;->sleep(J)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    move v0, v1

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1

    :catch_1
    move-exception v0

    goto :goto_1
.end method

.method public static b()V
    .locals 1

    invoke-static {}, Landroid/bluetooth/BluetoothAdapter;->getDefaultAdapter()Landroid/bluetooth/BluetoothAdapter;

    move-result-object v0

    sput-object v0, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    return-void
.end method

.method public static b(Landroid/app/Activity;ZZ)V
    .locals 2

    new-instance v0, Lcom/estrongs/android/taskmanager/dj;

    invoke-direct {v0, p2, p0, p1}, Lcom/estrongs/android/taskmanager/dj;-><init>(ZLandroid/app/Activity;Z)V

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/dj;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    return-void
.end method

.method static synthetic b(Z)V
    .locals 0

    invoke-static {p0}, Lcom/estrongs/android/taskmanager/cz;->e(Z)V

    return-void
.end method

.method static synthetic c()Landroid/widget/Button;
    .locals 1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->l:Landroid/widget/Button;

    return-object v0
.end method

.method public static c(Landroid/app/Activity;ZZ)V
    .locals 2

    new-instance v0, Lcom/estrongs/android/taskmanager/dm;

    invoke-direct {v0, p2, p0, p1}, Lcom/estrongs/android/taskmanager/dm;-><init>(ZLandroid/app/Activity;Z)V

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/dm;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    return-void
.end method

.method static synthetic c(Z)V
    .locals 0

    invoke-static {p0}, Lcom/estrongs/android/taskmanager/cz;->g(Z)V

    return-void
.end method

.method static synthetic d()Landroid/widget/Button;
    .locals 1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->m:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic e()Landroid/widget/TextView;
    .locals 1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->o:Landroid/widget/TextView;

    return-object v0
.end method

.method private static e(Z)V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    if-eqz p0, :cond_0

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->j:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->k:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->o:Landroid/widget/TextView;

    const v1, 0x7f070099

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :goto_0
    return-void

    :cond_0
    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->j:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->k:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->o:Landroid/widget/TextView;

    const v1, 0x7f07009a

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method static synthetic f()Landroid/bluetooth/BluetoothAdapter;
    .locals 1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    return-object v0
.end method

.method private static f(Landroid/content/Context;Z)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    const-string v0, "connectivity"

    invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/ConnectivityManager;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    new-array v2, v5, [Ljava/lang/Class;

    sget-object v3, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;

    aput-object v3, v2, v4

    const-string v3, "setMobileDataEnabled"

    invoke-virtual {v1, v3, v2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v1

    new-array v2, v5, [Ljava/lang/Object;

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    aput-object v3, v2, v4

    invoke-virtual {v1, v0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method private static f(Z)V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    if-eqz p0, :cond_0

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->l:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->m:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->p:Landroid/widget/TextView;

    const v1, 0x7f070099

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :goto_0
    return-void

    :cond_0
    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->l:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->m:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->p:Landroid/widget/TextView;

    const v1, 0x7f07009a

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method static synthetic g()Landroid/widget/Button;
    .locals 1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->g:Landroid/widget/Button;

    return-object v0
.end method

.method private static g(Z)V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    if-eqz p0, :cond_0

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->g:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->h:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->i:Landroid/widget/TextView;

    const v1, 0x7f070099

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :goto_0
    return-void

    :cond_0
    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->g:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->h:Landroid/widget/Button;

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setVisibility(I)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->i:Landroid/widget/TextView;

    const v1, 0x7f07009a

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method private static g(Landroid/content/Context;)Z
    .locals 6

    const/4 v5, 0x0

    const/4 v4, 0x1

    sget-boolean v0, Lcom/estrongs/android/taskmanager/cz;->r:Z

    if-eqz v0, :cond_0

    sget-boolean v0, Lcom/estrongs/android/taskmanager/cz;->q:Z

    :goto_0
    return v0

    :cond_0
    :try_start_0
    const-string v0, "connectivity"

    invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/ConnectivityManager;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    const-string v1, "getMobileDataEnabled"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Class;

    const/4 v2, 0x0

    sget-object v3, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;

    aput-object v3, v1, v2

    const-string v2, "setMobileDataEnabled"

    invoke-virtual {v0, v2, v1}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    const/4 v0, 0x1

    sput-boolean v0, Lcom/estrongs/android/taskmanager/cz;->q:Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    sput-boolean v4, Lcom/estrongs/android/taskmanager/cz;->r:Z

    sget-boolean v0, Lcom/estrongs/android/taskmanager/cz;->q:Z

    goto :goto_0

    :catch_0
    move-exception v0

    sput-boolean v5, Lcom/estrongs/android/taskmanager/cz;->q:Z

    goto :goto_1
.end method

.method static synthetic h()Landroid/widget/Button;
    .locals 1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->h:Landroid/widget/Button;

    return-object v0
.end method

.method private static h(Landroid/content/Context;)Z
    .locals 4

    const/4 v3, 0x0

    const-string v0, "connectivity"

    invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/ConnectivityManager;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    const-string v2, "getMobileDataEnabled"

    invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v1

    invoke-virtual {v1, v0, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    return v0
.end method

.method static synthetic i()Landroid/widget/TextView;
    .locals 1

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->i:Landroid/widget/TextView;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    invoke-super {p0}, Lcom/estrongs/android/taskmanager/dp;->a()V

    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/cz;->mActivity:Landroid/app/Activity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/cz;->h(Landroid/content/Context;)Z

    move-result v0

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/cz;->g(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    invoke-static {}, Landroid/content/ContentResolver;->getMasterSyncAutomatically()Z

    move-result v0

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/cz;->f(Z)V

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/estrongs/android/taskmanager/cz;->n:Landroid/bluetooth/BluetoothAdapter;

    invoke-virtual {v0}, Landroid/bluetooth/BluetoothAdapter;->isEnabled()Z

    move-result v0

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/cz;->e(Z)V

    :goto_1
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :cond_0
    const v0, 0x7f090009

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/cz;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_1
.end method
